<?php

namespace App\Imports;


use App\Models\Tmp\TmpM;
use Maatwebsite\Excel\Concerns\ToModel;

class MImport implements ToModel
{
    /**
    * @param array $row
    *
    * @return \Illuminate\Database\Eloquent\Model|null
    */
    public function model(array $row)
    {
        dump(trim($row[0]));
        return new TmpM([
            'order_sn' => str_replace('No:','', trim($row[0])),
        ]);
    }
}
